The direction parameter to the function QTVRNudge specifies the direction in which to nudge the current view. You can use these constants to specify a nudge direction:
typedef enum QTVRNudgeControl {
kQTVRRight = 0,
kQTVRUpRight = 45,
kQTVRUp = 90,
kQTVRUpLeft = 135,
kQTVRLeft = 180,
kQTVRDownLeft = 225,
kQTVRDown = 270,
kQTVRDownRight = 315
} QTVRNudgeControl;
The actual direction of the nudge is affected by the current control settings. For example, when the kQTVRReverseVControl control setting is enabled, the QTVRNudge function nudges up when you pass the value kQTVRDown and down when you pass the value kQTVRUp .
| Previous | Chapter Contents | Chapter Top | Next |